<%= error_messages_for :announcement %>
<% form_tag :action=>:edit do -%>
<%= text_field(:announcement, :title) %>
<%= text_field(:announcement, :body) %>
<%= submit_tag "Update" %>
<% end -%>

<%= link_to 'Show', @announcement %> |
<%= link_to 'Back', announcements_path %>
